Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the "invert condition" property to AnimationNodeStateMachineTransition #36434

Conversation

Riteo
Copy link
Contributor

@Riteo Riteo commented Feb 22, 2020

Resolves godotengine/godot-proposals#454

Adds the "Invert Condition" parameter to AnimationNodeStateMachinetransition, which avoids the creation of "not" conditions("IsMoving" "NotIsMoving")

Also, i've created a quick test project for testing this feature at https://github.com/Riteo/godot-invert-condition-test-project

@Riteo Riteo requested review from Calinou and removed request for Calinou February 25, 2020 21:18
@Calinou Calinou added this to the 4.0 milestone Jan 5, 2021
…tion.

When true, it will advance when its condition evaluates to false.

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
@Riteo Riteo force-pushed the animationnodestatemachinetransition-invert-condition branch from 188b269 to 904db4d Compare February 2, 2021 19:45
@floriandotorg
Copy link

@Riteo maybe your can solve the conflicts? would love to see this in 4.0 🧡

@Riteo
Copy link
Contributor Author

Riteo commented Mar 2, 2022

@floriandotorg actually I think that #54327 might be a better solution to this problem. If it doesn't pass through I'll gadly rebase this though.

@Riteo
Copy link
Contributor Author

Riteo commented Mar 31, 2022

Superseded by #54327.

@Riteo Riteo closed this Mar 31, 2022
@Riteo Riteo deleted the animationnodestatemachinetransition-invert-condition branch January 23, 2023 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "invert" option for state machine's conditions in AnimationTree
4 participants